﻿.am-datepicker {
    top: 0;
    left: 0;
    border-radius: 0;
    background: #fff;
    -webkit-box-shadow: 0 0 10px #ccc;
    box-shadow: 0 0 10px #ccc;
    padding-bottom: 10px;
    margin-top: 10px;
    width: 238px;
    color: #555;
    display: none;
    font-weight:normal;
}

    .am-datepicker > div {
        display: none;
    }

    .am-datepicker table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0px;
    }

    .am-datepicker tr.am-datepicker-header {
        font-size: 1rem;
        color: #fff;
        background: #3bb4f2;
    }

    .am-datepicker td, .am-datepicker th {
        text-align: center;
        font-weight: 400;
        cursor: pointer;
    }

    .am-datepicker th {
        height: 48px;
    }

    .am-datepicker td {
        font-size: 1rem;
    }

        .am-datepicker td.am-datepicker-day {
            height: 34px;
            width: 34px;
        }

            .am-datepicker td.am-datepicker-day:hover {
                background: #f0f0f0;
                height: 34px;
                width: 34px;
            }

            .am-datepicker td.am-datepicker-day.am-disabled {
                cursor: no-drop;
                color: #999;
                background: #fafafa;
            }

        .am-datepicker td.am-datepicker-old, .am-datepicker td.am-datepicker-new {
            color: #89d7ff;
        }

        .am-datepicker td.am-active, .am-datepicker td.am-active:hover {
            border-radius: 0;
            color: #0084c7;
            background: #f0f0f0;
        }

        .am-datepicker td span {
            display: block;
            width: 79.33px;
            height: 40px;
            line-height: 40px;
            float: left;
            cursor: pointer;
        }

            .am-datepicker td span:hover {
                background: #f0f0f0;
            }

            .am-datepicker td span.am-active {
                color: #0084c7;
                background: #f0f0f0;
            }

            .am-datepicker td span.am-datepicker-old {
                color: #89d7ff;
            }

    .am-datepicker .am-datepicker-dow {
        height: 40px;
        color: #0c80ba;
    }

.am-datepicker-caret {
    display: block !important;
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-bottom: 7px solid #3bb4f2;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-top: 0 dotted;
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
    position: absolute;
    top: -7px;
    left: 6px;
}

.am-datepicker-right .am-datepicker-caret {
    left: auto;
    right: 7px;
}

.am-datepicker-up .am-datepicker-caret {
    top: auto;
    bottom: -7px;
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 7px solid #fff;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 0 dotted;
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.am-datepicker-select {
    height: 34px;
    line-height: 34px;
    text-align: center;
    -webkit-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
}

    .am-datepicker-select:hover {
        background: rgba(154,217,248,.5);
        color: #0c80ba;
    }

.am-datepicker-prev, .am-datepicker-next {
    width: 34px;
    height: 34px;
}

.am-datepicker-prev-icon, .am-datepicker-next-icon {
    width: 34px;
    height: 34px;
    line-height: 34px;
    display: inline-block;
    -webkit-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
}

    .am-datepicker-prev-icon:hover, .am-datepicker-next-icon:hover {
        background: rgba(154,217,248,.5);
        color: #0c80ba;
    }

    .am-datepicker-prev-icon:before {
        display: inline-block;
        font-family: FontAwesome,sans-serif;
        font-weight: 400;
        font-style: normal;
        vertical-align: baseline;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\f053";
    }

    .am-datepicker-next-icon:before {
        display: inline-block;
        font-family: FontAwesome,sans-serif;
        font-weight: 400;
        font-style: normal;
        vertical-align: baseline;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\f054";
    }

.am-datepicker-dropdown {
    position: absolute;
    z-index: 1000;
}

@media only screen and (max-width:640px) {
    .am-datepicker {
        width: 100%;
    }

        .am-datepicker td span {
            width: 33.33%;
        }

    .am-datepicker-caret {
        display: none !important;
    }

    .am-datepicker-prev, .am-datepicker-next {
        width: 44px;
        height: 44px;
    }
}

.am-datepicker-success tr.am-datepicker-header {
    background: #5eb95e;
}

.am-datepicker-success td.am-datepicker-day.am-disabled {
    color: #999;
}

.am-datepicker-success td.am-datepicker-old, .am-datepicker-success td.am-datepicker-new {
    color: #94df94;
}

.am-datepicker-success td.am-active, .am-datepicker-success td.am-active:hover {
    color: #1b961b;
}

.am-datepicker-success td span.am-datepicker-old {
    color: #94df94;
}

.am-datepicker-success td span.am-active {
    color: #1b961b;
}

.am-datepicker-success .am-datepicker-caret {
    border-bottom-color: #5eb95e;
}

.am-datepicker-success .am-datepicker-dow {
    color: #367b36;
}

.am-datepicker-success .am-datepicker-select:hover, .am-datepicker-success .am-datepicker-prev-icon:hover, .am-datepicker-success .am-datepicker-next-icon:hover {
    background: rgba(165,216,165,.5);
    color: #367b36;
}

.am-datepicker-danger tr.am-datepicker-header {
    background: #dd514c;
}

.am-datepicker-danger td.am-datepicker-day.am-disabled {
    color: #999;
}

.am-datepicker-danger td.am-datepicker-old, .am-datepicker-danger td.am-datepicker-new {
    color: #f59490;
}

.am-datepicker-danger td.am-active, .am-datepicker-danger td.am-active:hover {
    color: #c10802;
}

.am-datepicker-danger td span.am-datepicker-old {
    color: #f59490;
}

.am-datepicker-danger td span.am-active {
    color: #c10802;
}

.am-datepicker-danger .am-datepicker-caret {
    border-bottom-color: #dd514c;
}

.am-datepicker-danger .am-datepicker-dow {
    color: #a4241f;
}

.am-datepicker-danger .am-datepicker-select:hover, .am-datepicker-danger .am-datepicker-prev-icon:hover, .am-datepicker-danger .am-datepicker-next-icon:hover {
    background: rgba(237,164,162,.5);
    color: #a4241f;
}

.am-datepicker-warning tr.am-datepicker-header {
    background: #f37b1d;
}

.am-datepicker-warning td.am-datepicker-day.am-disabled {
    color: #999;
}

.am-datepicker-warning td.am-datepicker-old, .am-datepicker-warning td.am-datepicker-new {
    color: #ffad6d;
}

.am-datepicker-warning td.am-active, .am-datepicker-warning td.am-active:hover {
    color: #aa4b00;
}

.am-datepicker-warning td span.am-datepicker-old {
    color: #ffad6d;
}

.am-datepicker-warning td span.am-active {
    color: #aa4b00;
}

.am-datepicker-warning .am-datepicker-caret {
    border-bottom-color: #f37b1d;
}

.am-datepicker-warning .am-datepicker-dow {
    color: #a14c09;
}

.am-datepicker-warning .am-datepicker-select:hover, .am-datepicker-warning .am-datepicker-prev-icon:hover, .am-datepicker-warning .am-datepicker-next-icon:hover {
    background: rgba(248,180,126,.5);
    color: #a14c09;
}
